package com.hrt.bean;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/** 角色表
 * 
 * @pdOid 8b8ff204-369b-4eaa-8421-eeaa93f57fae */
/***********************************************************************
 * Module: Roles.java Author: Administrator Purpose: Defines the Class Roles
 ***********************************************************************/
@Entity
@Table(name = "ROLES")
public class Role implements Serializable {

	/** @pdOid da5f84de-5035-442e-a631-5f3249c0ec0e */
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "R_ID")
	public Long id;
	/** @pdOid d659b808-22fc-4c74-8c93-ed55660389ee */
	@Column(name = "R_CODE")
	public java.lang.String rCode;
	/** @pdOid 2c7ba07b-cc6f-45a5-978a-9b11c14920b4 */
	@Column(name = "R_NAME")
	public java.lang.String rName;
	/** @pdOid e7806d02-b09a-47a2-8d5f-4f24dd23a5f2 */
	@Column(name = "ISDELETE",nullable=false)
	public Integer isdelete=0;
	/** @pdOid edcb7746-2742-48b3-aec6-bbb20d8e1f20 */
	@Column(name = "NOTE")
	public java.lang.String note;
	
	private Timestamp createTime;
	
	private Timestamp editTime;
	
	private String creator;
	
	private String editor;

	

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public java.lang.String getrCode() {
		return rCode;
	}

	public java.lang.String getrName() {
		return rName;
	}

	public Integer getIsdelete() {
		return isdelete;
	}

	public java.lang.String getNote() {
		return note;
	}

	

	public void setrCode(java.lang.String rCode) {
		this.rCode = rCode;
	}

	public void setrName(java.lang.String rName) {
		this.rName = rName;
	}

	public void setIsdelete(Integer isdelete) {
		this.isdelete = isdelete;
	}

	public void setNote(java.lang.String note) {
		this.note = note;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public Timestamp getEditTime() {
		return editTime;
	}

	public String getCreator() {
		return creator;
	}

	public String getEditor() {
		return editor;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public void setEditTime(Timestamp editTime) {
		this.editTime = editTime;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public void setEditor(String editor) {
		this.editor = editor;
	}

}
